package com.examination.system.instructor.dao.mapper;

import org.apache.ibatis.annotations.*;
import org.apache.ibatis.mapping.StatementType;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

/**
 * 调用存储过程方法
 * @author 寇淇芮
 * @Date 2019/11/7 14:45
 */
@Mapper
@Repository
public interface StoredProcedureMapper {



    @Options(statementType = StatementType.CALLABLE)
    @Select("call queryStudentInformationCollection(#{id})")
    List<List<HashMap<String,String>>> findQueryStudentInformationCollection(@Param("id")String id);
}
